package com.example.springbootdemo;


import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
public class JspDemoCtl {


    @RequestMapping("/index")
    public ModelAndView toIndex(){
        System.out.println("to index");

            return new ModelAndView("index");
    }
}
